DeleteRouteEntry
Description
call the DeleteRouteEntry interface to delete custom routing entries.
Request Method
POST
Request Path
/apsara/route/Vpc/DeleteRouteEntry
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
NextHopList.N.NextHopId | BODY | string | No | ri-2zeo3xzyf38r43cd**** | the ID of the next hop instance of the ECMP route. |
RouteEntryId | BODY | string | No | rte-bp1mnnr2al0naomn**** | route entry ID to delete. |
RouteTableId | BODY | string | Yes | vtb-hp37isva36oj7839j**** | ID of the routing table to which the routing entry belongs. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
NextHopId | BODY | string | No | ngw-bp1vpo4l2vd7zef8o**** | ID of the next hop instance. |
DestinationCidrBlock | BODY | string | Yes | 10.0.0.0/16 | The destination network segment of the route entry supports IPv4 and IPv6 network segments. |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | The region ID of the routing table to which the route entry to be deleted belongs. You can obtain the region ID by calling the DescribeRegions interface. |
NextHopList.N.NextHopType | BODY | string | No | RouterInterface | the type of next hop of ECMP route, currently, only RouterInterface(router interface). |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}